package org.pb.core;

import java.awt.Image;

public class PlacardBoy {
	
	private String character;
	private int x;
	private int y;
	private Image boyImage;
	
	public PlacardBoy(String character){
		if(character.length() != 1){
			throw new RuntimeException();
		}
		this.character = character;
	}
	
	public void setCharacter(String character) {
		this.character = character;
	}
	
	public void setXY(int x,int y){
		this.x = x;
		this.y = y;
	}
	
	public String getCharacter(){
		return this.character;
	}
	
	public int getX(){
		return this.x;
	}
	
	public int getY(){
		return this.y;
	}

	public Image getBoyImage() {
		return boyImage;
	}

	public void setBoyImage(Image boyImage) {
		this.boyImage = boyImage;
	}

	@Override
	public String toString() {
		return "PlacardBoy [character=" + character + ", x=" + x + ", y=" + y + ", boyImage exist " + (this.boyImage != null) + "]";
	}
	
	

}
